package com.example.tabtestwithsherlock;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.actionbarsherlock.app.SherlockFragment;
  
public class MyTab1 extends SherlockFragment {  
    @Override  
    public View onCreateView(LayoutInflater inflater, ViewGroup container,  
            Bundle savedInstanceState) {  
        View v = inflater.inflate(R.layout.simple, container, false);  
        View tv = v.findViewById(R.id.text);  
        ((TextView) tv).setText("1번 탭이다.");  
        return v;  
    }  
}